/*
 * @Description:
 * @Author: Poker_旭
 * @Date: 2021-06-25 16:14:42
 * @LastEditors: Ronda
 * @LastEditTime: 2021-06-25 19:31:21
 */

import { get, post } from '../../utils/request'

/**
 * 根据条件查询数据
 * @param {*} params
 * @returns
 */
export function pageQuery(params) {
  return get('/comment/pageQuery', params)
}

/**
 * 根据id删除
 * @param {id} params
 * @returns
 */
export function deleteById(params) {
  return get('/comment/deleteById', { id: params })
}

export function deleteByIdArr(params) {
  return post('/comment/batchDelete', {
    ids: params
  })
}

/**
 * 审核是否通过
 * @param {*} params
 * @returns
 */
export function checkPass(params) {
  return get('/comment/check', params)
}

